#ifndef DISCPICKUPCONTROL_H
#define DISCPICKUPCONTROL_H

#include "../CommandBase.h"
#include "../Robotmap.h"
/**
 *
 *
 * @author team308
 */
class DiscPickupControl: public CommandBase {
	bool latch;
	bool oldlatch;
	
	bool l2;
	bool ol2;
	bool conveyorOn;
	bool extendPin;
	
	bool inprogress;	
	
	bool breachUp;
	bool blatch;
	bool bolatch;
public:
	
	Timer pinTimer;
	DiscPickupControl();
	virtual void Initialize();
	virtual void Execute();
	virtual bool IsFinished();
	virtual void End();
	virtual void Interrupted();
};

#endif
